any() returns true if any of the items in the List result in a true value from the lambda expression. Otherwise, any() returns false.

You can learn more about this in:
Run Edit